package com.ruoyi.project.registration.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 *  病例实体
 * */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class RegDisease extends BaseEntity {
    private Integer reNo;//主键，序号

    private String rePatientName;//患者姓名
    private String rePatientId;//身份证号
    private String rePatientPhone;//手机号
    private String rePatientGender;//性别

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rePatientBirth;//出生日期
    private Integer rePatientAge;//年龄
    private String rePatientAddress;//家庭住址
    private String rePatientDisease;//过敏史

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reDisDate;//发病日期

    private String reDisType;//接诊类型
    private String reDisDisease;//是否传染病
    private String reDisSpeak;//主诉
    private String reDisInfo;//诊断信息
    private String reDisAdvice;//医生建议
    private String reDisRemark;//备注

    private String reDisId;//病例编号
    private String reRrId;//挂号单ID
}
